<?php
include_once('common/header.php');	
if($AppUI->id <= 0 || !isset($_SERVER['HTTP_REFERER'])) {
	$this->_redirect(HOST_BACKEND);
}
$intCategoryId	= $objRequest->getParam('cate', 0);
$intProvinceId	= $objRequest->getParam('prov', 0);
$objEducation	= new Education();
$arrEducate		= $objEducation->getAllByCate($intCategoryId, $intProvinceId);
$this->view->arrEducate	= $arrEducate;
$objView 		= Zend_Registry::get('objView');
$strData 		= $objView->fetch('ajax/edu.tpl');
$arrJson 		= array('data'=>$strData);
echo $objRequest->getParam('callback') . '(' . Zend_Json::encode($arrJson) . ')';
exit();